* {
    padding: 0;
    margin: 0;
}

body {
    background: #f7f4f2;
}

ul,li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #187fa5;
}

a:visited {
    color: #0062b2;
}

#header {
    width: 960px;
    margin: 0 auto;
    display: flex;
    margin-top: 20px;
}

.imgContainer img {
    vertical-align: top;
    width: 130px;
    padding-top: 30px;
}

#header div:nth-child(2) span {
    font-size: 13px;
    padding-left: 20px;
    padding-right: 30px;
}

#header div:nth-child(2) select {
    background-image: url("/img/terms/bg_form_arrow_pc.png"), 
                      url("/img/terms/bg_form_select.png");
    background-repeat: no-repeat;
    border: 1px #737373 solid;
    background-position: right center, right top;
    background-size: 30px 5px, 50px 100%;
    height: 33px;
    line-height: 33px;
    width: 153px;
    -webkit-appearance: none;
    appearance: none;
    padding-left: 5px;
}

#header div:nth-child(2) a {
    color: #323333;
    font-size: 80.7%;
    padding-left: 14px;
}

#header div:nth-child(2) a::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: -16px;
    background: url("/img/terms/icon_link_arrow_gray.png") no-repeat center;
    background-size: 4px 8px;
    vertical-align: middle;
}

#header div:nth-child(2) a:hover {
    text-decoration: underline;
}

#header div:nth-child(3) {
    padding-top: 40px;
}

#header div:nth-child(3) input {
    box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.4) inset;
    border: 1px #737373 solid;
    display: table-cell;
    height: 28px;
    padding-left: 10px;
}

#header div:nth-child(3) span {
    display: inline-block;
    width: 50px;
    height: 32px;
    line-height: 28px;
    font-size: 13px;
    text-align: center;
    background-color: #00467e;
}

#header div:nth-child(3) span a {
    color: #fff;
}

#header div:nth-child(3)>a {
    display: inline-block;
    width: 100px;
    height: 32px;
    line-height: 28px;
    background-color: #00467e;
    text-align: center;
    margin-left: 30px;
    font-size: 13px;
    color: #fff;
    background: url("/img/terms/icon_link_arrow_white.png") #00467e no-repeat 10px center;
    background-size: 4px 8px;
    text-indent: 1rem;
}

.link::after {
    content: "";
    display: inline-block;
    width: 12px;
    height: 11px;
    background-image: url("/img/terms/icon_link_blank_white.png");
    background-repeat: no-repeat;
    background-size: 12px 11px;
    background-position: right;
    padding-left: 5px;
}

#menu {
    width: 100%;
    background: #dfe4e6;
    position: relative;
    margin-top: 10px;
}

#menu>ul {
    width: 960px;
    margin: 0 auto;
    display: flex;
}

#menu>ul:first-child li{
    font-size: 13.5px;
    font-weight: bold;
    color: #191919;
    width: 16%;
    text-align: center;
    height: 62px;
    line-height: 62px;
    border-left: 1px #fff solid;
    position: relative;
}

#menu>ul:first-child li:last-child {
    border-right: 1px #fff solid;
}

#menu>ul:first-child li>a {
    color: inherit;
}

#menu>ul:first-child li::after {
    content: "";
    display: block;
    background-image: url("/img/terms/icon_link_arrow_down_l.png");
    width: 16px;
    height: 5px;
    position: absolute;
    left: 45%;
    bottom: 8px;
}

#menu>ul:first-child li:nth-child(4)::after {
    content: none;
}

#menu>ul:last-child {
    position: absolute;
    float: left;
    background-color: inherit;
    width: inherit;
}

.menuHeader {
    margin-top: 25px;
    padding-bottom: 12px;
    padding-left: 283px;
    border-bottom: 1px #b9bdbe solid;
    width: 102.3%;
}

.menuHeader span:nth-child(2) {
    font-size: 10px;
    margin-right: 30px;
    margin-left: 664px;
}

.menuHeader a {
    font-size: 12px;
}

.menuHeader a::before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 1.3rem;
    background: url("/img/terms/icon_link_update.png") no-repeat left;
    background-size: 11px;
    vertical-align: top;
}

.menuBody {
    margin-left: 282px;
}

.menuBody ul {
    display: flex;
}

.menuBody li {
    background-color: #fff;
    margin: 15px 5px;
    padding: 15px 15px;
    text-align: center;
}

.menuBody li img:first-of-type {
    width: 30px;
}

.menuBody li img:nth-of-type(2) {
    width: 15px;
    padding: 4px;
}

.menuBody a {
    display: block;
    font-size: 14px;
    line-height: 20px;
    height: 20px;
    padding: 5px;
}   

.menuBody a::before {
    content: "";
    display: inline-block;
    background: url("/img/terms/icon_link_arrow_black.png") no-repeat center;
    background-size: 4px 8px;
    vertical-align: middle;
    width: 14px;
    height: 14px;
    margin-bottom: 3px;
}

.menuBody p {
    font-size: 13px;
}

.menuClose {
    border-bottom: 1px #b9bdbe solid;
    width: 29.9%;
    padding-left: 1100px;
    padding-bottom: 10px;
}

.menuClose:hover {
    text-decoration: underline;
    color: #0062b2;
}

.menuClose::before {
    content: "";
    display: inline-block;
    background: url("/img/terms/icon_btn_close.png") no-repeat left;
    background-size: 10px;
    width: 18px;
    height: 1.3em;
    vertical-align: middle;
}

#menu>ul:nth-of-type(2)>li:nth-of-type(3)>.menuHeader>span:nth-of-type(2) {
    padding-right: 20px;
    background: url("/img/terms/icon_link_arrow_gray.png") no-repeat right;
    background-size: 4px 8px;
}

#menu>ul:nth-of-type(2)>li:nth-of-type(3)>.menuBody {
    display: flex;
}

#menu>ul:nth-of-type(2)>li:nth-of-type(3)>.menuBody>div:nth-of-type(1) {
    width: 50%;
    display: flex;
    flex-wrap: wrap;
    margin-right: 8px;
    box-sizing: border-box;
}

#menu>ul:nth-of-type(2)>li:nth-of-type(3)>.menuBody>div:nth-of-type(2) {
    width: 40%;
}

#menu>ul:nth-of-type(2)>li:nth-of-type(3)>.menuBody>div:nth-of-type(1)>p {
    width: 100%;
}

#menu>ul:nth-of-type(2)>li:nth-of-type(3)>.menuBody input {
    padding: 0 10px;
    height: 60px;
    width: 60%;
    box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.4) inset;
    font-size: 128.6%;
    border: 1px #737373 solid;
    display: table-cell;
}

#menu>ul:nth-of-type(2)>li:nth-of-type(3)>.menuBody>div:nth-of-type(1)>span {
    width: 15%;
    display: inline-block;
    background-color: #00467e;
    color: #fff;
    margin-left: 10px;
    text-align: center;
    height: 62px;
    line-height: 62px;
}

#menu>ul:nth-of-type(2)>li:nth-of-type(3)>.menuBody>div:nth-of-type(1)>div {
    width: 100%;
    display: flex;
}

#menu>ul:nth-of-type(2)>li:nth-of-type(3)>.menuBody>div:nth-of-type(1)>div>a {
    background: url("/img/terms/icon_btn_search_routemap.png") #fff no-repeat center 20px;
    background-size: 30px 27px;
    height: 90px;
    width: 25%;
    margin-top: 10px;
    margin-right: 10px;
    box-sizing: border-box;
    padding-top: 60px;
    text-align: center;
    font-size: 12px;
}

#menu>ul:nth-of-type(2)>li:nth-of-type(3)>.menuBody>div:nth-of-type(1)>div>a:nth-of-type(2) {
    background-image: url("/img/terms/icon_btn_search_syllabary.png");
}

#menu>ul:nth-of-type(2)>li:nth-of-type(3)>.menuBody>div:nth-of-type(1)>div>a:nth-of-type(3) {
    background-image: url("/img/terms/icon_btn_search_condition.png");
    background-size: 30px 20px;
}

#menu>ul:nth-of-type(2)>li:nth-of-type(3)>.menuBody>div:nth-of-type(1)>div>a:nth-of-type(4) {
    background-image: url("/img/terms/icon_btn_search_here.png");
    background-size: 20px 25px;
}

#menu>ul:nth-of-type(2)>li:nth-of-type(3)>.menuBody>div:nth-of-type(1)>div>a::before{
    content: none;
}

#menu>ul:nth-of-type(2)>li:nth-of-type(3)>.menuBody>div:nth-of-type(1)>div>a>span {
    font-size: 16px;
    font-weight: bold;
}

#menu>ul:nth-of-type(2)>li:nth-of-type(4) .menuHeader span:nth-of-type(2) {
    padding-right: 20px;
    background: url("/img/terms/icon_link_arrow_gray.png") no-repeat right;
    background-size: 4px 8px;
}

#menu>ul:nth-of-type(2)>li:nth-of-type(5) .menuHeader span:nth-of-type(2) {
    padding-right: 20px;
    background: url("/img/terms/icon_link_arrow_gray.png") no-repeat right;
    background-size: 4px 8px;
}

#menu>ul:nth-of-type(2)>li:nth-of-type(5) .menuBody li {
    color: #fff;
    background-color: #00467e;
}

#body {
    width: 960px;
    margin: 0 auto;
}

#body>p {
    font-size: 13px;
    padding-top: 10px;
    padding-bottom: 10px;
}

#body>p a {
    /* display: bl; */
    padding: 6px 20px 6px 0;
    margin-right: 10px;
    background: url("/img/terms/breadcrumbs_arrow.gif") no-repeat right center;
}

#body>h1 {
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 130%;
    font-weight: bold;
    line-height: 1.2;
}

#body>div:first-of-type, #content>div {
    background-color: #fff;
    margin-top: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    border: 1px #eee solid;
    padding: 30px;
}

#body>div:first-of-type>p {
    font-size: 13px;
    padding: 1px;
}

#body>div:nth-of-type(2)>a {
    font-size: 13px;
    margin-right: 30px;
    padding: 0 45px 0 15px;
}

#body>div:nth-of-type(2)>a:hover {
    text-decoration: underline;
}

#content h1, #content h2 {
    background: #f4f4f4;
    border: 1px #ccc solid;
    border-radius: 4px;
    box-sizing: border-box;
}

#content h1 {
    font-size: 18px;
    margin-left: -31px;
    margin-top: -30px;
    margin-bottom: 10px;
    width: 960px;
    padding: 11px 15px 11px 24px;
}

#content h2 {
    font-size: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 5px;
}

#content li, p {
    padding: 2px;
    font-size: 14px;
}

#content li {
    list-style: inherit;
    margin-left: 15px;
}

#content th, td {
    font-weight: normal;
    padding: 12px;
    vertical-align: top;
    border-bottom: #d8d8d8 1px solid;
    border-right: #d8d8d8 1px solid;
}

#content th {
    border-left: #d8d8d8 1px solid;
    background: #f0f0f0;
}

#content table {
    border-top: #d8d8d8 1px solid;
}


#footer {
    background: #dfe4e6;
}

.footerContainer {
    width: 960px;
    margin: 0 auto;
}

.footerContainer #top {
    width: 100%;
    display: flex;
    padding-top: 50px;
    margin-bottom: 40px;
}

.footerContainer #top>div {
    width: 50%;
    box-sizing: border-box;
    margin-right: 40px;
}

.footerContainer #top>div:nth-of-type(1) {
    background-color: #fff;
    padding-left: 20px;
    padding-bottom: 20px;
}

.footerContainer #top>div:nth-of-type(1) h2 {
    font-size: 14px;
    width: 30%;
    margin: 0 auto;
    margin-bottom: 20px;
}

.footerContainer #top img {
    vertical-align: middle;
    padding: 5px;
}

.blink::after {
    content: "";
    display: inline-block;
    background: url("/img/terms/icon_link_blank.png") no-repeat right;
    height: 12px;
    width: 16px;
    background-size: 12px 11px;
}

.footerContainer #top>div:nth-of-type(2) {
    display: flex;
    flex-wrap: wrap;
}

.footerContainer #top>div:nth-of-type(2)>a {
    font-size: 14px;
    color: #fff;
    display: block;
    width: 40%;
    background-color: #00467e;
    margin-right: 10px;
    margin-bottom: 35px;
    padding: 30px;
    box-sizing: border-box;
}

.footerContainer>div:nth-of-type(2) {
    display: flex;
    width: 100%;
}

.footerContainer>div:nth-of-type(2) a {
    font-size: 14px;
    margin-right: 50px;
}

.footerContainer>div:nth-of-type(2) a::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 1.3em;
    margin-left: -14px;
    background: url("/img/terms/icon_footer_nav.png") no-repeat center;
    vertical-align: top;
}

.footerContainer>p {
    font-size: 13px;
    padding: 20px;
    margin: 0 auto;
    width: 600px;
}

#body>div:nth-of-type(2)>a::before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    background: url("/img/terms/anchorLink_ico_01.gif") no-repeat;
    background-size: 8px;
    z-index: 2;
    vertical-align: middle;
    margin-top: 6px;
}